﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KDSugar.Galaxy.API.Base.Result
{
    /// <summary>
    /// 返回状态信息类
    /// </summary>
    public class ResponseStatusInfo
    {
        /// <summary>
        /// 是否成功
        /// </summary>
        public bool IsSuccess { get; set; }

        /// <summary>
        /// 返回码
        /// </summary>
        public long MsgCode { get; set; }

        /// <summary>
        /// 错误信息
        /// </summary>
        public List<Dictionary<string,object>> Errors { get; set; }

        /// <summary>
        /// 成功返回信息
        /// </summary>
        public List<Dictionary<string,object>> SuccessEntitys { get; set; }

        /// <summary>
        /// 成功信息
        /// </summary>
        public object SuccessMessages { get; set; }

        /// <summary>
        /// 错误码
        /// </summary>
        public long ErrorCode { get; set; }
    }
}
